#include "ScnsYing.c.h"

#if defined(SCNS_YING_ENABLE)&&SCNS_YING_ENABLE==1

void scnsBspYingReset(void)
{
    SCB->AIRCR=0X05FA0000|(uint32)0x04;
}

void scnsBspYingErrorHandler(uint32 pc1,uint32 pc2,const char*file,uint32 line,const char*code)
{
//    extern volatile uint32 RAM_BACKUP_RESET_INFO[3];
//    RAM_BACKUP_RESET_INFO[0]=(uint32)file;
//    RAM_BACKUP_RESET_INFO[1]=(uint32)line;
//    RAM_BACKUP_RESET_INFO[2]=(uint32)code;
    scnsYingReset();
}

#endif